Hosted Checkout Code

PHP, Node.js, Python, and Java examples for hosted checkout integration.

Server-side examples for Hosted Checkout: create a payment link, redirect the customer, confirm payment, handle webhooks, and process refunds.

📘

Concept guide: Hosted Checkout Integration Overview — API flow and diagrams without code.

🚧

Use POST /payment/checkout/intiate (not /session). Staging base URL: https://fin-api.digetpay.com/v1.

Apple Pay: No merchant code for hosted checkout — send customerPhone when creating the link. See Apple Pay on Hosted Checkout.


Next steps



Did this page help you?